import request from "@/utils/request";

/**
 * 查询树形评论
 */
export const treeCommentApi = (articleId) => request({
    url:'/comment/tree?articleId='+articleId
})

/**
 * 新增评论
 */
export const addCommentApi = (data) => request({
    url:'/comment/add',
    method: "post",
    data
})
